package com.qf.shopping.pojo.car;

/**
 * 会员登录日志表
 */
public class MemberLoginLog {

  //主键id
  private Long id;

  //会员id
  private Long memberId;

  //登录时间
  private Long loginTime;

  //是否首次登录
  private Integer isFirst;

  //登录IP
  private String loginIp;

  public MemberLoginLog() {
  }

  public MemberLoginLog(Long id, Long memberId, Long loginTime, Integer isFirst, String loginIp) {
    this.id = id;
    this.memberId = memberId;
    this.loginTime = loginTime;
    this.isFirst = isFirst;
    this.loginIp = loginIp;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Long getMemberId() {
    return memberId;
  }

  public void setMemberId(Long memberId) {
    this.memberId = memberId;
  }

  public Long getLoginTime() {
    return loginTime;
  }

  public void setLoginTime(Long loginTime) {
    this.loginTime = loginTime;
  }

  public Integer getIsFirst() {
    return isFirst;
  }

  public void setIsFirst(Integer isFirst) {
    this.isFirst = isFirst;
  }

  public String getLoginIp() {
    return loginIp;
  }

  public void setLoginIp(String loginIp) {
    this.loginIp = loginIp;
  }

  @Override
  public String toString() {
    return "MemberLoginLog{" +
            "id=" + id +
            ", memberId=" + memberId +
            ", loginTime=" + loginTime +
            ", isFirst=" + isFirst +
            ", loginIp='" + loginIp + '\'' +
            '}';
  }
}
